package com.ruoyi.project.drug.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 drug_factory
 *
 * @author ruoyi
 * @date 2021-12-20
 */
public class DrugFactory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 厂家ID */
    private Long factId;

    /** 厂家名称 */
    @Excel(name = "厂家名称")
    private String factName;

    /** 厂家编码 */
    @Excel(name = "厂家编码")
    private String factCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String factContact;

    /** 电话 */
    @Excel(name = "电话")
    private String factPhone;

    /** 关键字 */
    @Excel(name = "关键字")
    private String factKey;

    /** 地址 */
    @Excel(name = "地址")
    private String factAddress;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setFactId(Long factId)
    {
        this.factId = factId;
    }

    public Long getFactId()
    {
        return factId;
    }
    public void setFactName(String factName)
    {
        this.factName = factName;
    }

    public String getFactName()
    {
        return factName;
    }
    public void setFactCode(String factCode)
    {
        this.factCode = factCode;
    }

    public String getFactCode()
    {
        return factCode;
    }
    public void setFactContact(String factContact)
    {
        this.factContact = factContact;
    }

    public String getFactContact()
    {
        return factContact;
    }
    public void setFactPhone(String factPhone)
    {
        this.factPhone = factPhone;
    }

    public String getFactPhone()
    {
        return factPhone;
    }
    public void setFactKey(String factKey)
    {
        this.factKey = factKey;
    }

    public String getFactKey()
    {
        return factKey;
    }
    public void setFactAddress(String factAddress)
    {
        this.factAddress = factAddress;
    }

    public String getFactAddress()
    {
        return factAddress;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("factId", getFactId())
                .append("factName", getFactName())
                .append("factCode", getFactCode())
                .append("factContact", getFactContact())
                .append("factPhone", getFactPhone())
                .append("factKey", getFactKey())
                .append("factAddress", getFactAddress())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
